package lab02.test35;

public class Worker extends Employee {
    double day;

    public Worker(double salary) {
        super(salary);
    }

    public Worker() {

    }

    public void setDay(double day) {
        this.day = day;
    }

    @Override
    double computeSalary() {
     salary=day*150;
     return salary;
    }
}
